package org.dx.oho.service.impl;
import org.dx.oho.service.RkzService;
import org.springframework.stereotype.Service;

/**
 * create by duanx 2021/6/27
 *@description： todo
 *@classname: RkzServiceImpl
 *@author: duanx
 *@date: 2021/6/27 15:20
 **/
@Service
public class RkzServiceImpl implements RkzService {
    @Override
    public String dataVisualization(String startDate, String endDate) {
        StringBuffer stringBuffer = new StringBuffer();
        stringBuffer
                .append("{\"todayCase\": [{\"departmentName\": \"日喀则市应急管理局\", \"caseName\": \"烟花爆竹燃放许可\", \"applicant\": \"李四\", \"handlingStatus\": \"办理中\"}, {\"departmentName\": \"日喀则市应急管理局\", \"caseName\": \"烟花爆竹燃放许可\", \"applicant\": \"李四\", \"handlingStatus\": \"办理中\"}, {\"departmentName\": \"日喀则市应急管理局\", \"caseName\": \"烟花爆竹燃放许可\", \"applicant\": \"李四\", \"handlingStatus\": \"办理中\"}, {\"departmentName\": \"日喀则市应急管理局\", \"caseName\": \"烟花爆竹燃放许可\", \"applicant\": \"李四\", \"handlingStatus\": \"办理中\"}, {\"departmentName\": \"日喀则市应急管理局\", \"caseName\": \"烟花爆竹燃放许可\", \"applicant\": \"李四\", \"handlingStatus\": \"办理中\"}, {\"departmentName\": \"日喀则市应急管理局\", \"caseName\": \"烟花爆竹燃放许可\", \"applicant\": \"李四\", \"handlingStatus\": \"办理中\"}], \"topTwentyHighFrequencyMatters\": [{\"matterName\": \"边境通行证\", \"caseNum\": \"1952\"}, {\"matterName\": \"消防许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"通信许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, ")
                .append("{\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}, {\"matterName\": \"经营许可证\", \"caseNum\": \"1888\"}], \"volumeOfTopTenUnits\": [{\"departmentName\": \"日喀则市应急管理局\", \"caseNum\": \"8652\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"},")
                .append(" {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}, {\"departmentName\": \"日喀则市住建局\", \"caseNum\": \"8500\"}], \"acceptedAndSettledToday\": [{\"acceptNum\": \"68\", \"settleNum\": \"25\"}], \"departmentCaseInformation\": [{\"departmentName\": \"日喀则市应急管理局\", \"itemName\": \"烟花爆竹燃放许可\", \"caseNum\": \"68\", \"settleNum\": \"68\", \"settleRate\": \"0.99\", \"averageTime\": \"3天\"}, {\"departmentName\": \"日喀则市应急管理局\", \"itemName\": \"烟花爆竹燃放许可\", \"caseNum\": \"68\", \"settleNum\": \"68\", \"settleRate\": \"0.99\", \"averageTime\": \"3天\"}, {\"departmentName\": \"日喀则市应急管理局\", \"itemName\": \"烟花爆竹燃放许可\", \"caseNum\": \"68\", \"settleNum\": \"68\", \"settleRate\": \"0.99\", \"averageTime\": \"3天\"}, {\"departmentName\": \"日喀则市应急管理局\", \"itemN")
                .append("ame\": \"烟花爆竹燃放许可\", \"caseNum\": \"68\", \"settleNum\": \"68\", \"settleRate\": \"0.99\", \"averageTime\": \"3天\"}, {\"departmentName\": \"日喀则市应急管理局\", \"itemName\": \"烟花爆竹燃放许可\", \"caseNum\": \"68\", \"settleNum\": \"68\", \"settleRate\": \"0.99\", \"averageTime\": \"3天\"}, {\"departmentName\": \"日喀则市应急管理局\", \"itemName\": \"烟花爆竹燃放许可\", \"caseNum\": \"68\", \"settleNum\": \"68\", \"settleRate\": \"0.99\", \"averageTime\": \"3天\"}], \"onlineAndOfflineCaseNum\": [{\"onLineNum\": \"65\", \"offlineNum\": \"20\"}], \"monthlyReturnNum\": [{\"january\": \"3\", \"february\": \"3\", \"march\": \"3\", \"april\": \"3\", \"may\": \"3\", \"june\": \"3\", \"july\": \"3\", \"august\": \"3\", \"september\": \"3\", \"october\": \"3\", \"november\": \"3\", \"december\": \"3\"}], \"monthlyAdditionalNum\": [{\"january\": \"6\", \"february\": \"5\", \"march\": \"2\", \"april\": \"3\", \"may\": \"3\", \"june\": \"3\", \"july\": \"3\", \"august\": \"3\", \"september\": \"3\", \"october\": \"3\", \"november\": \"3\", \"december\": \"3\"}]}");
        System.out.println("开始："+startDate);
        return stringBuffer.toString();
    }
}
